package com.cloud.spring.demo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@TableName("biz_address")
@Component
public class Address extends BaseEntity {
    private int id;
    private String name;
    private String message;
    private int userId;
    @TableField(exist = false)
    private User user;
}
